package com.xnf.search.model;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by chendx on 2022/3/17.
 */
public class TrieNode {
    public char var;
    public boolean isWord;
    public Map<Character, TrieNode> children = new HashMap<>();
    public boolean containLongTail = false;

    public TrieNode() {
    }

    public TrieNode(char c) {
        TrieNode node = new TrieNode();
        node.var = c;
    }
}
